/* style.css */
body {
    margin: 0;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}



/* style.css */
#ball {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #3498db;
    border-radius: 50%;
    animation: bounce 2s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-100px);
    }
    60% {
        transform: translateY(-50px);
    }
}

#paddle {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #2ecc71;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.3s ease, transform 0.1s ease;
}

#score {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #ecf0f1;
}


